<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<div class="panel panel-default">
	<!-- Default panel contents -->
	<div class="panel-heading">
		你当前的积分余额为: <strong><fmt:formatNumber type="number" value="${points}" pattern="0.00" maxFractionDigits="2"/></strong>
	</div>
	<!-- Table -->
	<table class="table table-hover">
		<thead>
			<tr>
				<th>序号</th>
				<th>时间</th>
				<th>变动值</th>
				<th>备注</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${tracePage.list}" var="pointAccountTrace">
				<tr>
					<td>${tracePage.list.indexOf(pointAccountTrace)}</td>
					<td><fmt:formatDate value="${pointAccountTrace.changeTime}" type="both" pattern="yyyy-MM-dd HH:mm:ss"/></td>
					<td><fmt:formatNumber type="number" value="${pointAccountTrace.changeValue}" pattern="0.00" maxFractionDigits="2"/></td>
					<td>${pointAccountTrace.remark}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>